import { createApp } from "./vue.esm.js";

createApp({
    data(){
        return{
            show:false,
            students:[
                {id:1,name:"zs",age:22},
                {id:2,name:"ls",age:20},
                {id:3,name:"ww",age:23}
            ]
        }
    },
    methods:{
        modifyStu(){
            this.students = [
                {id:1,name:"xiaoming",age:22},
                {id:2,name:"xiaohong",age:20}
            ]
        }
    }
}).mount("#app")